﻿using System;
using System.Runtime.InteropServices;

namespace RemotingActiveX
{
    /// <summary>
    /// ActiveX的事件接口
    /// </summary>
    [Guid("2385B690-790B-455F-97C3-675229AEFA9C"), ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    public interface ActiveXDemo_Event
    {
        [DispId(1)]
        void HelloWorld();

        [DispId(2)]
        void ShowMessage(String data);
    }
}